﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Base.Model.Common
{
    /// <summary>
    /// 实体类Menu 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Menu
    {
        public Menu()
        { }
        #region Model
        private Guid _id;
        private Guid _parentid;
        private Guid _nameid;
        private string _linkurl;
        private int _isdelete;
        private string _description;
        private int _sort;
        private int _ismenu;
        private int? _isdisplay;
        /// <summary>
        /// 
        /// </summary>
        public Guid Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid ParentId
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid NameId
        {
            set { _nameid = value; }
            get { return _nameid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string LinkURL
        {
            set { _linkurl = value; }
            get { return _linkurl; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int IsDelete
        {
            set { _isdelete = value; }
            get { return _isdelete; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Sort
        {
            set { _sort = value; }
            get { return _sort; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int IsMenu
        {
            set { _ismenu = value; }
            get { return _ismenu; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? IsDisplay
        {
            set { _isdisplay = value; }
            get { return _isdisplay; }
        }
        #endregion Model
    }
}